package org.travel.app.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author nmm
 * @date 2024-12-2024/12/21
 * @deriction
 *
 *  @JsonIgnoreProperties 表示在把json数据序列化时不在乎其他额外的属性
 *
 */

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@AllArgsConstructor
@NoArgsConstructor
public class IdVerification {
    private String name;
    private String idNo;
    private String birthday;
    private String phone;
    private String sex;
    private Integer userId;
    private String  respMessage;
    private String respCode;
    public IdVerification(String name, String idNo) {
        this.name = name;
        this.idNo = idNo;
    }
}